@import '~antd/es/style/themes/default.less';

.main {
  // width: 368px;
  // margin: 0 auto;
  // @media screen and (max-width: @screen-sm) {
  //   width: 95%;
  // }
    width: 896px;
    height: 440px;
    position: absolute;
    display: flex;
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0);

    .loginbg{
      background: url(../../../assets/loginnestbg.png) no-repeat 50%/cover;
      width: 536px;
      flex: 1 1;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-content: center;
      .logo{
        width: 100%;
        margin-bottom: .5rem;
        height: 2rem;
        object-fit: scale-down;
      }
      h2{
        font-size: 2rem;
        color: #fff;
        margin: 0;
        letter-spacing: .25rem;
        text-align: center;
      }
    }
    .loginForm{
      border-radius: 0 8px 8px 0;
      background: #f9fbff;
      height: 100%;
      width: 360px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      h3{
        color: #16171c;
        font-size: 24px;
      }
    }
  .icon {
    margin-left: 16px;
    color: rgba(0, 0, 0, 0.2);
    font-size: 24px;
    vertical-align: middle;
    cursor: pointer;
    transition: color 0.3s;

    &:hover {
      color: @primary-color;
    }
  }

  .other {
    margin-top: 24px;
    line-height: 22px;
    text-align: left;

    .register {
      float: right;
    }
  }

  :global {
    .antd-pro-login-submit {
      width: 100%;
      margin-top: 24px;
    }
  }
}
